package com.mall.service;

import com.mall.bean.SystemRolePermission;

import java.util.List;

public interface SystemRolePermissionService {
    List<SystemRolePermission> getSystemRolePermission(String role_id);

    //角色分配目录先删除角色目录中间表的关联
    void deleteRolePermissionByRoleId(String role_id);

    //插入
    void insertRolePermission(SystemRolePermission rolePermission);

    void deleteByPermissionId(String permission_id);
}
